--- ksh-openbsd_cvs/lex.c	2010-02-23 12:49:19.000000000 +0100
+++ ksh-openbsd_cvs.new/lex.c	2010-04-01 21:01:24.134232647 +0200
@@ -7,6 +7,8 @@
 #include "sh.h"
 #include <libgen.h>
 #include <ctype.h>
+#include <time.h>
+#include "strlcpy.h"
 
 
 /* Structure to keep track of the lexing state and the various pieces of info
